package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Exam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamService {
    public PageInfo<Exam> showHistory(Integer pageNum, Integer pageSize,String name, Integer corel, Integer corer, String subject,Integer userId);
    public int deleteHistory(long id);
    public PageInfo<Exam> showHistoryBack(Integer pageNum, Integer pageSize,String name, Integer corel, Integer corer, String subject);
    int addClassExam(Long examid,Integer classid);
    int  addTitleExam(Exam exam);
    PageInfo<Exam> examShow(Integer pageNum,Integer pageSize,String name, String subject);
    int deleteAllExam(Long[] ids);
    Exam showOne(Long id);
    int updateType(String type);
    PageInfo<Exam> classExam(Integer pageNum,Integer pageSize,Integer classid,String subject);
}
